const Router = require('koa-router')
const txhRecallController = require('../../controllers/txhRecall')

const router = new Router({
  prefix: '/txhRecall/v1',
})

// 获取文章详情接口（路由）
router.post('/addNew', txhRecallController.addNew);

router.post('/deleteContent', txhRecallController.deleteContent);

router.post('/findContentById', txhRecallController.findContentById);

router.post('/findContentByContent', txhRecallController.findContentByContent);

router.post('/updateContentById', txhRecallController.updateContentById);

router.post('/createVideo', txhRecallController.createVideo);

module.exports = router
